package com.mall.product.remote;

import com.mall.common.core.domain.Result;
import com.mall.product.common.domain.PmsSkuInfo;
import com.mall.product.common.domain.PmsSkuSaleAttrValue;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "mall-product",contextId = "PmsSkuSaleAttrValueRemote")
public interface PmsSkuSaleAttrValueRemote {

    /**
     * 根据skuId查询商品销售属性
     */
    @GetMapping("/value/findSaleAttrBySkuId/{skuId}")
    public Result<String> findSaleAttrBySkuId(@PathVariable("skuId") Long skuId);

}
